package com.lifl.b328.garden.model;

import android.content.ContentValues;
import android.database.Cursor;

public class NotePoolDAO extends CacheDAO<NotePoolStructure> {

	@Override
	public long add(NotePoolStructure obj) {
		ContentValues values = new ContentValues();
		values.put(Constantes.KEY_POOL_ACTION, obj.getAction());
		values.put(Constantes.KEY_POOL_NOTEID,obj.getNoteId());
		
		return db.insert(Constantes.TABLE_POOL, null, values);
	}

	@Override
	public long delete(long rowid) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public long edit(NotePoolStructure obj, long rowid) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public NotePoolStructure getByColumn(String column,Object valeur) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public NotePoolStructure getById(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Cursor getAll(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Cursor getAll(long id, String order) {
		// TODO Auto-generated method stub
		return null;
	}

}
